﻿using System;
using System.Windows;

namespace SimbaRGVMonitor
{
    partial class MonitorApp : Application
    {
        [STAThread]
        static void Main(string[] args)
        {
            var app = new MonitorApp();
            app.InitializeComponent();
            app.ShutdownMode = ShutdownMode.OnMainWindowClose;
            app.Startup += delegate { MonitorCenter.Instance.Init(); };
            app.Exit += delegate { MonitorCenter.Instance.ShutDown(); };

            app.Run();
        }
    }
}
